FROM centos:7

ARG CONNECTION_TOKEN=ibizsys

COPY ./openvscode-server /openvscode-server

COPY ./.openvscode-server/extensions /root/.openvscode-server/extensions

WORKDIR /openvscode-server

CMD /openvscode-server/bin/openvscode-server --host 0.0.0.0 --port 30100 --connection-token $CONNECTION_TOKEN
